const DIRECTORY_ID = 'DIRECTORY_ID'
const DIRECTORY_TYPE = 'DIRECTORY_TYPE'
const DIRECTORY_NAME = 'DIRECTORY_NAME'
const directory = {
	state: {
		directory:{
			id:"",
      name:""
		}
	},
	mutations: {
		[DIRECTORY_ID]: (state, id) => {
			state.directory.id = id;
		},
    [DIRECTORY_TYPE]: (state, type) => {
    	state.directory.type = type;
    },
    [DIRECTORY_NAME]: (state, name) => {
    	state.directory.name = name;
    }
	}
}

export default directory
